<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>合众人寿公益平台客户管理系统</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link href="<%= request.getContextPath() %>/html/css/Main.css"
			rel="stylesheet" type="text/css" />
		 
		 	  <style>
body,ul,ol,dl,dd,p,h1,h2,h3,h4,h5,h6,form,input,textarea,select,td,th {
	margin: 0;
	padding: 0;
	font-family: "宋体", Arial, Helvetica, sans-serif;
}

li {
	list-style: none;
}

input {
	background: none;
}

.clear {
	zoom: 1;
}

.clear:after {
	content: "";
	display: block;
	clear: both;
}

</style>
	</head>

	<body>
		<div class="container">
			<div class="wrap clear">
				<div class="sub_wp_right">
					<div class="rt_tt">
						<h3 class="tittle">
							查看会员信息
						</h3>
					</div>
					<div class="ct">
						<div class="add">
							<table class="viewTable">
								<tr>
									<td align="right"  class="title">
										<span>姓名：</span>
									</td>
									<td  class="t2">
										${member.memberName}
									</td>
									<td align="right"  class="title">
										<span>性别：</span>
									</td>
									<td  class="t2">
										${member.gender}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>身份证号：</span>
									</td>
									<td  class="t2">
										${member.idCard}
									</td>
									<td align="right"  class="title">
										<span>出生日期：</span>
									</td>
									<td  class="t2">
										${member.birthday}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>手机号码：</span>
									</td>
									<td  class="t2">
										${member.cellPhone}
									</td>
									<td align="right"  class="title">
										<span>电子邮件：</span>
									</td>
									<td  class="t2">
										${member.email}
									</td>
								</tr>
								<tr>
								    <td align="right"  class="title">
										<span>兴趣爱好：</span>
									</td>
									<td  class="t2">
										${member.carType}
									</td>
									<td align="right"  class="title">
										<span>车辆品牌：</span>
									</td>
									<td  class="t2">
										${member.carBrand }
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>捐助学生数：</span>
									</td>
									<td  class="t2">
										${member.donateStuNum}
									</td>
									<td align="right"  class="title">
										<span>会员类型：</span>
									</td>
									<td  class="t2">
										${member.memberType}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>分公司：</span>
									</td>
									<td  class="t2">
										${member.subComName}
									</td>
									
									<td align="right"  class="title">
										<span>中支：</span>
									</td>
									<td  class="t2">
										${member.subCityName}
									</td>
									
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>创建日期：</span>
									</td>
									<td class="t2" colspan="3">
										${member.createDate}
									</td>
								
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>捐赠记录：</span>
									</td>
									<td colspan="3"  class="t2">
										${member.donateRecord}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>转介绍记录：</span>
									</td>
									<td colspan="3"  class="t2">
										${member.reproduceIntroduce}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title">
										<span>发帖纪录：</span>
									</td>
									<td colspan="3"  class="t2">
										${member.forumPosting}
									</td>
								</tr>
								<tr>
									<td align="right"  class="title"> 
										<span>备注：</span>
									</td>
									<td colspan="3"  class="t2">
										${member.remark}
									</td>
								</tr>
							</table>
						</div>
						<div style="padding: 10px;"></div>
						<div class="jieguo">
							<h4>爱心之旅活动明细</h4>
							<table border="0" cellpadding="0" cellspacing="0"
								class="listArea" width="100%">
								<thead>
									<tr>
										<th>&nbsp;</th>
										<th>分公司</th>
										<th>中支</th>
										<th>姓名</th>
										<th>性别</th>
										<th>出生日期</th>
										<th>会员类型</th>
										<th>身份证号</th>
										<th>手机号码</th>
										<th>电子邮件</th>
										<th>创建时间</th>
									</tr>
								</thead>
								<tbody id="bg">
									<s:iterator value="journeyLoveSubMembers" var="subMember" status="status">
										<s:if test="#status.odd == true">
											<tr class="rowNormal" onmouseover="this.className='rowChecked'" onmouseout="this.className='rowNormal'">
										</s:if>
										<s:else>
											<tr class="rowAlternate" onmouseover="this.className='rowChecked'" onmouseout="this.className='rowAlternate'">
										</s:else>
										<td>
											<s:if test="#subMember.childrenMember.size() > 0">
												<img src="<%= request.getContextPath() %>/html/images/branch_0.png"/>
											</s:if>
										</td>
										<td align="center"><s:property value="#subMember.subComName" /></td>
										<td align="center"><s:property value="#subMember.subCityName" /></td>
										<td align="center"><s:property value="#subMember.sub_memberName" /></td>
										<td align="center"><s:property value="#subMember.sub_gender" /></td>
										<td align="center">
											<s:if test="#subMember.sub_birthday== null || #subMember.sub_birthday.length() == 0">&nbsp;</s:if>
											<s:property value="#subMember.sub_birthday" />
										</td>
										<td align="center"><s:property value="#subMember.sub_memberType" /></td>
										<td align="center"><s:property value="#subMember.sub_idCard" /></td>
										<td align="center"><s:property value="#subMember.sub_cellPhone" /></td>
										<td align="center">
											<s:if test="#subMember.sub_email == null || #subMember.sub_email.length() == 0">&nbsp;</s:if>
											<s:property value="#subMember.sub_email" />
										</td>
										<td align="center">
											<s:date name="#subMember.sub_createDate" format="yyyy-MM-dd HH:mm:ss" />
										</td>
										</tr>
										<s:if test="#subMember.childrenMember.size() > 0">
										<s:iterator value="#subMember.childrenMember" var="child"
											status="childStatus">
											<tr class="rowNormal"
												onmouseover="this.className='rowChecked'"
												onmouseout="this.className='rowNormal'">
												<td><img src="<%= request.getContextPath() %>/html/images/branch_<s:if test='#childStatus.last'>2</s:if><s:else>1</s:else>.png"/></td>
												<td align="center"><s:property value="#child.subComName" /></td>
												<td align="center"><s:property value="#child.subCityName" /></td>
												<td align="center"><s:property
														value="#child.sub_memberName" /></td>
												<td align="center"><s:property
														value="#child.sub_gender" /></td>
												<td align="center"><s:if
														test="#child.sub_birthday== null || #child.sub_birthday.length() == 0">&nbsp;</s:if>
													<s:property value="#child.sub_birthday" />
												</td>
												<td align="center"><s:property
														value="#child.sub_memberType" /></td>
												<td align="center"><s:property
														value="#child.sub_idCard" /></td>
												<td align="center"><s:property
														value="#child.sub_cellPhone" /></td>
												<td align="center"><s:if
														test="#child.sub_email == null || #child.sub_email.length() == 0">&nbsp;</s:if>
													<s:property value="#child.sub_email" />
												</td>
												<td align="center"><s:date
														name="#child.sub_createDate"
														format="yyyy-MM-dd HH:mm:ss" />
												</td>
											</tr>
										</s:iterator>
									</s:if>
									</s:iterator>
								</tbody>
							</table>
						</div>
						<div style="padding: 10px;"></div>
						<div class="jieguo">
							<h4>会员专项活动明细</h4>
							<table border="0" cellpadding="0" cellspacing="0"
								class="listArea" width="100%">
								<thead>
									<tr>
										<th>&nbsp;
										</th>
										<th>分公司</th>
										<th>中支</th>
										<th>姓名</th>
										<th>性别</th>
										<th>出生日期</th>
										<th>会员类型</th>
										<th>身份证号</th>
										<th>手机号码</th>
										<th>电子邮件</th>
										<th>创建时间</th>
									</tr>
								</thead>
								<tbody id="bg">
									<s:iterator value="memberEnjoySubMembers" var="subMember" status="status">
										<s:if test="#status.odd == true">
											<tr class="rowNormal" onmouseover="this.className='rowChecked'" onmouseout="this.className='rowNormal'">
										</s:if>
										<s:else>
											<tr class="rowAlternate" onmouseover="this.className='rowChecked'" onmouseout="this.className='rowAlternate'">
										</s:else>
										<td>
											<s:if test="#subMember.childrenMember.size() > 0">
												<img src="<%= request.getContextPath() %>/html/images/branch_0.png"/>
											</s:if>
										</td>
										<td align="center"><s:property value="#subMember.subComName" /></td>
										<td align="center"><s:property value="#subMember.subCityName" /></td>
										<td align="center"><s:property value="#subMember.sub_memberName" /></td>
										<td align="center"><s:property value="#subMember.sub_gender" /></td>
										<td align="center">
											<s:if test="#subMember.sub_birthday== null || #subMember.sub_birthday.length() == 0">&nbsp;</s:if>
											<s:property value="#subMember.sub_birthday" />
										</td>
										<td align="center"><s:property value="#subMember.sub_memberType" /></td>
										<td align="center"><s:property value="#subMember.sub_idCard" /></td>
										<td align="center"><s:property value="#subMember.sub_cellPhone" /></td>
										<td align="center">
											<s:if test="#subMember.sub_email == null || #subMember.sub_email.length() == 0">&nbsp;</s:if>
											<s:property value="#subMember.sub_email" />
										</td>
										<td align="center">
											<s:date name="#subMember.sub_createDate" format="yyyy-MM-dd HH:mm:ss" />
										</td>
										</tr>
										<s:if test="#subMember.childrenMember.size() > 0">
										<s:iterator value="#subMember.childrenMember" var="child"
											status="childStatus">
											<tr class="rowNormal"
												onmouseover="this.className='rowChecked'"
												onmouseout="this.className='rowNormal'">
												<td><img src="<%= request.getContextPath() %>/html/images/branch_<s:if test='#childStatus.last'>2</s:if><s:else>1</s:else>.png"/></td>
												<td align="center"><s:property value="#child.subComName" /></td>
												<td align="center"><s:property value="#child.subCityName" /></td>
												<td align="center"><s:property
														value="#child.sub_memberName" /></td>
												<td align="center"><s:property
														value="#child.sub_gender" /></td>
												<td align="center"><s:if
														test="#child.sub_birthday== null || #child.sub_birthday.length() == 0">&nbsp;</s:if>
													<s:property value="#child.sub_birthday" />
												</td>
												<td align="center"><s:property
														value="#child.sub_memberType" /></td>
												<td align="center"><s:property
														value="#child.sub_idCard" /></td>
												<td align="center"><s:property
														value="#child.sub_cellPhone" /></td>
												<td align="center"><s:if
														test="#child.sub_email == null || #child.sub_email.length() == 0">&nbsp;</s:if>
													<s:property value="#child.sub_email" />
												</td>
												<td align="center"><s:date
														name="#child.sub_createDate"
														format="yyyy-MM-dd HH:mm:ss" />
												</td>
											</tr>
										</s:iterator>
									</s:if>
									</s:iterator>
								</tbody>
							</table>
						</div>
						<div class="btn">
								<input type="button" value="返回"
									onclick="javascript :history.back(-1);" />
							</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
